package com.tanhan.mindapp.dao;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@TableName("sys_user_role")
@Schema(description = "系统用户角色关联实体类")
public class SysUserRole {
    private static final long serialVersionUID = 1L;

    // 用户ID
    @TableField("user_id")
    @Schema(description = "用户ID", example = "1")
    private String userId;

    // 角色ID
    @TableField("role_id")
    @Schema(description = "角色ID", example = "1")
    private String roleId;
}
